package com.ktwlsoft.archivemanage.payload.guiBusiness;

import com.ktwlsoft.archivemanage.domain.dao.entity.BasisBusinessManage;
import com.ktwlsoft.archivemanage.domain.dao.entity.Imgs;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.Size;
import java.util.Date;
import java.util.List;

/**
 * 指导条目
 *
 * @author Name on 2020/4/29 17:16
 * @version 1.0
 */
@ApiModel("指导条目")
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class MendListItemResult {

    private Long id;

    private Date createdAt;

    /**指导id**/
    @ApiModelProperty("指导id")
    private Long guidanceId;

    /**条目名称**/
    @ApiModelProperty("条目名称")
    @Size(max = 20, message = "条目名称参数超长")
    private String name;

    /**内容**/
    @ApiModelProperty("内容")
    @Size(max = 300, message = "内容参数超长")
    private String content;

    /**1.正常,2.禁用,-1.删除*/
    @ApiModelProperty("1.正常,2.禁用,-1.删除")
    private Integer dataState;

    /**排序*/
    @ApiModelProperty("排序")
    private Integer sort;

    /**指导条目图片*/
    @ApiModelProperty("指导条目图片")
    private List<Imgs> imgList;

    /**依据*/
    @ApiModelProperty("依据")
    private List<BasisBusinessManageRequest> basisBusinessManages;

    /**整改说明**/
    @ApiModelProperty("整改说明")
    private String mendRemark;

    /**整改图片*/
    @ApiModelProperty("整改图片")
    private List<Imgs> mendListImgList;
}